export interface FlowModelTableColumns {    
    id:number;  // 主键    
    name:string;  // 流程名称    
    flowType:number;  // 表单类型    
    flowFormCate:string;  // 流程表单类别    
    linkedFlowFormCate?:LinkedFlowModelFlowForm; // 流程表单类别    
    flowBusinessCate:string;  // 业务表单类别    
    status:number;  // 流程状态    
    createdAt:string;  // 创建时间    
    createdBy:string;  // 创建人    
    linkedFlowModelFlowForm:LinkedFlowModelFlowForm;    
}


export interface FlowModelInfoData {    
    id:number|undefined;        // 主键    
    name:string|undefined; // 流程名称    
    flowType:boolean; // 表单类型    
    flowFormCate:string|undefined; // 流程表单类别    
    linkedFlowFormCate?:LinkedFlowModelFlowForm; // 流程表单类别    
    remark:string|undefined; // 流程描述    
    flowBusinessCate:string|undefined; // 业务表单类别    
    sort:number|undefined; // 排序    
    status:boolean; // 流程状态    
    createdAt:string|undefined; // 创建时间    
    updatedAt:string|undefined; // 修改时间    
    deletedAt:string|undefined; // 删除时间    
    createdBy:number|undefined; // 创建人    
    updatedBy:number|undefined; // 修改人    
    linkedFlowModelFlowForm?:LinkedFlowModelFlowForm;    
}


export interface LinkedFlowModelFlowForm {	
    id:number|undefined;    // 主键	
    name:string|undefined;    // 表单名	
}


export interface FlowModelTableDataState {
    ids:any[];
    tableData: {
        data: Array<FlowModelTableColumns>;
        total: number;
        loading: boolean;
        param: {
            pageNum: number;
            pageSize: number;            
            name: string|undefined;            
            flowType: number|undefined;            
            flowFormCate: string|undefined;            
            flowBusinessCate: string|undefined;            
            sort: number|undefined;            
            status: number|undefined;            
            dateRange: string[];
        };
    };
}


export interface FlowModelEditState{
    loading:boolean;
    isShowDialog: boolean;
    formData:FlowModelInfoData;
    rules: object;
}